package com.example.s10_redis_session.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

// maxInactiveIntervalInSeconds = 30*60
// 最大活动时间 30分钟
@Configuration
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 30*60)
public class SessionConfig
{

}